package com.bidevalution.business.impl;

import com.bidevalution.business.service.TempBeEvalutionOutcomeService;
import com.bidevalution.dao.entity.TempBeEvalutionOutcome;
import com.bidevalution.dao.mapper.TempBeEvalutionOutcomeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: xiayf
 * @date: 2020-02-20 12:01
 */
@Service
public class TempBeEvalutionOutcomeServiceImpl implements TempBeEvalutionOutcomeService {

    @Autowired
    private TempBeEvalutionOutcomeMapper tempBeEvalutionOutcomeMapper;

    @Override
    public List<TempBeEvalutionOutcome> queryListById(String sectionId, String sectionStepId, String expertId) throws Exception {
        return tempBeEvalutionOutcomeMapper.queryListById(sectionId, sectionStepId, expertId);
    }

    @Override
    public int deleteListById(String sectionId, String sectionStepId, String expertId) throws Exception {
        return tempBeEvalutionOutcomeMapper.deleteListById(sectionId, sectionStepId, expertId);
    }

    @Override
    public int countById(String sectionId, String sectionStepId) throws Exception {
        return tempBeEvalutionOutcomeMapper.countById(sectionId, sectionStepId);
    }
}
